package com.huyi.common.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.annotation.PropertySource;

/**
 * dubbo消费者，采用xml文件
 * 
 * @author shengli.hu
 */
@Configuration
@ConditionalOnProperty(name = "enabled", havingValue = "false")
@PropertySource("classpath:dubbo.properties") 
@ImportResource({ "classpath:dubbo-consumer.xml" }) 
public class DubboConsumerConfig {

}
